import torch as t
a =t.Tensor([[1,2],[3,4]])
b=t.Tensor([[10,20],[30,40]])
c=t.sub(a,b)
d=t.sub(a,b)
e=t.mul(a,b)
f=t.div(a,b)
g=t.pow(b,2)
h=t.abs(d)
print("a=",a)
print("b=",b)
print("c=",c)
print("d=",d)
print("e=",e)
print("f=",f)
print("g=",g)
print("h=",h)
